package com.bhms.module.users.users.mapper;

import com.bhms.module.users.users.mapper.RolePrivileges;
import com.bhms.module.users.users.mapper.RolePrivilegesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RolePrivilegesMapper {
    int countByExample(RolePrivilegesExample example);

    int deleteByExample(RolePrivilegesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RolePrivileges record);

    int insertSelective(RolePrivileges record);

    List<RolePrivileges> selectByExample(RolePrivilegesExample example);

    RolePrivileges selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RolePrivileges record, @Param("example") RolePrivilegesExample example);

    int updateByExample(@Param("record") RolePrivileges record, @Param("example") RolePrivilegesExample example);

    int updateByPrimaryKeySelective(RolePrivileges record);

    int updateByPrimaryKey(RolePrivileges record);
}